Music score without clefs or with special clefs

Regardless of the number of lines of the staffs, an instrument may have no clefs, e.g. for percussion music but also for any weird purpose. This done by declaring some of the following items :


\def normalshapemediumseriesnormalshapemediumseries\clefdesolr{\relax}

\def normalshapemediumseriesnormalshapemediumseries\clefdutr{\relax}

\def normalshapemediumseriesnormalshapemediumseries\clefdefar{\relax}


At first sight, it could be thought to be silly to cancel the G clef, the C clef and/or the F clef to have an empty clef symbol. But the reason is that the absence of clefs does not mean that notes should not be raised according to their pitch. Thus, if the user uses the G clef coding of pitches, he is welcome to use the present feature to cancel the G clef, but if he uses some alto clef coding, then he should cancel the alto clef symbol. Of course, all this is irrelevant if the engraver chooses to use numeric coding of note position like \qu{10}.

Normal symbols for these clefs and for instrument or roman number r can be restored by :


\def\clefdesolr{ normalshapemediumseriesnormalshapemediumseries\clefdesolsymbol}

\def\clefdefar{ normalshapemediumseriesnormalshapemediumseries\clefdefasymbol}

\def\clefdutr{ normalshapemediumseriesnormalshapemediumseries\clefdutsymbol}


Besides, a special drum clef (two heavy vertical bars) can replace any of the standard clefs, for exemple the G clef by saying :


\def\clefdesolr{ normalshapemediumseriesnormalshapemediumseries\drumclefsymbol}


It is to be emphasised that these features are specific to one instrument — not one staff of a several staff instrument — so that some weird score for monks, drum and electronic keyboard such as


\begin{music}
\parindent 19mm
\generalsignature{0} \generalmeter{\rel...
...aker 3\diamw {00}&\zcarrg d\carqg g\carrg {hgh}\enotes
\finextrait
\end{music}
could be coded as follows, regardless this is relevant :

\parindent 19mm
\def\nbinstruments{3}   \def\instrumenti{keyboard}
\def\instrumentii{drum} \def\instrumentiii{monks}
\def\stafflinesnbii{1}  \def\stafflinesnbiii{4}
\generalsignature{0}    \generalmeter{\relax}
\signi=-1\relax            % one flat at keyboard
\cleftoksi={6000}\cleftoksiii={3000}
\nbporteesi=2\relax        % 2 staffs at keyboard
\def\clefdutiii{\gclefdut} % gregorian C clef at instrument iii
\def\clefdesolii{\drumclefsymbol}   % cancel G clef at instrument ii
\def\interinstrumentii{-2\Interligne} % less spacing above drum
\normal
\debutextrait
\Notes\hu F|\zh c\hu h&\diamw 0&\carrg {acd}\enotes
\NOtes\qu I|\zq N\qu d&\diamg 0&\diamg f\enotes
\NOtes\qu J|\zq a\qu e&\diamg 0&\diamg e\enotes
\notes\hu G|\zh b\hu d&\zshaker 3\diamw {00}&\zcarrg d\carqg g\carrg {hgh}\enotes
\finextrait

In the same way, a possible violin score with harmonic notes (see [*]) could be :


\begin{music}
\nbporteesi=1\relax
\generalsignature{-2}\generalmeter{\allabrev...
...
\barre
\NOTes\zd g\hu k\enotes
\NOTes\hpause\enotes
\finextrait
\end{music}

It was coded as follows:

\def\nbinstruments{1}\nbporteesi=1\relax
\generalsignature{-2}\generalmeter{\allabreve}\cleftoksi={0000}
\normal
\debutextrait
\NOtes\zd o\zh d\hu h\enotes
\Notes\ibu0k0\zq g\yh0k\qh0j\zq e\yh0i\tbu0\qh0j\enotes
\barre
\NOTes\zd g\hu k\enotes
\NOTes\hpause\enotes
\barre
\NOtes\zd o\zh d\hl h\enotes
\Notes\ibl0b0\zq g\yb0k\qb0j\zq e\yb0i\tbl0\qb0j\enotes
\barre
\NOTes\zd g\hu k\enotes
\NOTes\hpause\enotes
\finextrait